package comxyp.service;

import comxyp.domain.Employee;

import java.util.List;

public interface EmployeeService {

    //查询全部
    public List<Employee> findAll();
    //按照id查询
    public Employee findById(int emp_id);
    //添加
    public void adds(Employee employee);
    //修改
    public void update(Employee employee);
    //单个删除
    public void delete(int emp_id);
    //批量删除
    public void deleteAll(List<Integer> ids);
    //按用户名查询
    public boolean findName(String name);

}
